<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:53417/TridentService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" />
  <xs:import schemaLocation="http://localhost:53417/TridentService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:element name="GetUserRole">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="user" nillable="true" type="q1:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserRoleResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetUserRoleResult" type="q2:UserRole" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="LoadUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="LoadUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="LoadUserResult" nillable="true" type="q3:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetWorkflowCategories">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="user" nillable="true" type="q4:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetWorkflowCategoriesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetWorkflowCategoriesResult" nillable="true" type="q5:ArrayOfLeftPaneModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllUsersMyWorkflows">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="currentUser" nillable="true" type="q6:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllUsersMyWorkflowsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetAllUsersMyWorkflowsResult" nillable="true" type="q7:ArrayOfLeftPaneModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetMyWorkflowsForUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="user" nillable="true" type="q8:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetMyWorkflowsForUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetMyWorkflowsForUserResult" nillable="true" type="q9:ArrayOfLeftPaneModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllSharedWorkflowsForCurrentUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="user" nillable="true" type="q10:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllSharedWorkflowsForCurrentUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetAllSharedWorkflowsForCurrentUserResult" nillable="true" type="q11:ArrayOfLeftPaneModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetWorkflowById">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="workflowId" type="q12:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetWorkflowByIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetWorkflowByIdResult" nillable="true" type="q13:DetailedWorkflowModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetWorkflowRequiredParams">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="workflow" nillable="true" type="q14:WorkflowModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetWorkflowRequiredParamsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetWorkflowRequiredParamsResult" nillable="true" type="q15:ArrayOfParameterDescriptionModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAvailableNodes">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="isInteractive" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAvailableNodesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetAvailableNodesResult" nillable="true" type="q16:ArrayOfNodeModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOutputs">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="jobID" type="q17:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOutputsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetOutputsResult" nillable="true" type="q18:ArrayOfDataProductModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetJobDetails">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="jobID" type="q19:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetJobDetailsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="GetJobDetailsResult" nillable="true" type="q20:JobDetails" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="TerminateJob">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="jobID" type="q21:guid" />
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="user" nillable="true" type="q22:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="TerminateJobResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="ExecuteWorkflow">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="jobDetails" nillable="true" type="q23:JobDescriptionModel" />
        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="scheduledUser" nillable="true" type="q24:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExecuteWorkflowResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="ExecuteWorkflowResult" nillable="true" type="q25:JobDetails" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CheckForActivity">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="workflow" nillable="true" type="q26:WorkflowModel" />
        <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/Microsoft.Research.DataLayer.ServiceModel" minOccurs="0" name="user" nillable="true" type="q27:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CheckForActivityResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="CheckForActivityResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>